package com.example.demo.repository;

import com.example.demo.entity.OrderBase;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface OrderRepository extends JpaRepository<OrderBase,Integer>,JpaSpecificationExecutor<OrderBase> {

    // 查找订单的总数
    Long countAllByUpdater(String updater);
}
